package sctu.edu.java.year2016.team07.wenjia.day20160521.chapter4_1;

/**
 * Created by 001 on 2016/5/21.
 * 判断变量x是奇数还是偶数
 */
public class one{
    public static void main(String[]args){
        int x=7;
        if(x/2==0){
            System.out.println(x+"为偶数");
        }
        else{
            System.out.println(x+"为奇数");
        }

    }
}
